package com.jason.thread;

import com.jason.thread.sync.JAndCJob;

/**
 * @description:
 * @author: jason.jia
 * @create: 2019-01-29 16:45
 **/
public class TestThreadState {

    public static void main(String[] args) {
        Runnable jAndc = new JAndCJob();
        Thread a = new Thread(jAndc);
        a.start();
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(a.getState());
    }
}
